package ink.ykb.demo.permission.service.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import ink.ykb.demo.permission.entity.Role;
import ink.ykb.demo.permission.entity.Rule;
import lombok.Data;

/**
 * 用户权限信息
 * @author mading
 *
 */
@Data
public class UserPermissionInfo implements Serializable{

  private static final long serialVersionUID = 1L;
  
  /** 用户角色集合 */
  private List<Role> roles = new ArrayList<>();
  
  /** 用户权限集合 */
  private List<Rule> rules = new ArrayList<>();

}
